package com.imooc.mymall.domain.common;

import lombok.Data;

import java.io.Serializable;

/**
 * <h1>通用分页查询返回实体</h1>
 * @Author: crowsjian
 * @Date: 2020/7/11 14:25
 */
@Data
public class PageResult<T> implements Serializable {

    private static final long serialVersionUID = -1575938191635326119L;

    /*当前页号*/
    private Integer pageNo;
    /*每页行数*/
    private Integer pageSize;
    /*总记录数*/
    private Long total;
    /*总页数*/
    private Long pageNum;
    /*动态内容*/
    private T data;
}
